-- GENERATED SPELL FOR [Harrison Jones] --


function spell0_24358(pUnit, Event) --@Stealth,Self--
pUnit:FullCastSpellOnTarget(34189,pUnit)
pUnit:RegisterEvent('Sorts_24358', 599, 1)
end

function Sorts_24358(pUnit, Event)
local choix_sorts_24358 = math.random(0, 0)
if choix_sorts_24358 == 0 then
pUnit:RegisterEvent('spell0_24358', 1, 1)
end
end

function mob24358_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24358', math.random(1500, 3000), 1)
end

function mob24358_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24358_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24358_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24358, 1, 'mob24358_Action')
RegisterUnitEvent(24358, 2, 'mob24358_Leave')
RegisterUnitEvent(24358, 3, 'mob24358_Kill')
RegisterUnitEvent(24358, 4, 'mob24358_Die')
